/*
	markItUp! Universal MarkUp Engine, JQuery plugin
	By Jay Salvat - http://markitup.jaysalvat.com/
*/
.markItUp * {
	margin:0px; padding:0px;
	outline:none;
}

.markItUp a:link,
.markItUp a:visited {
	color:#000;
	text-decoration:none;
}

.markItUp  {
	/*width:700px;
	margin:5px 0 5px 0;*/
	/*border:5px solid #F5F5F5;*/
}

.markItUpContainer  {
	/* border:1px solid #3C769D; */
	background:#ececec url(images/toolbar-bg.gif) repeat-x;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	padding:5px 0;
	font:11px Verdana, Arial, Helvetica, sans-serif;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.markItUpEditor {
	font:12px 'Courier New', Courier, monospace;
	/*padding:5px 5px 5px 35px;*/
	/*border:3px solid #3C769D;*/
	/*width:643px;
	height:320px;*/
	/* background:#FFF url(images/bg-editor.png) no-repeat; */
	clear:both;
	line-height:18px;
	overflow:auto;
}

.markItUpPreviewFrame {
	overflow:auto;
	background-color:#FFFFFF;
	border:1px solid #3C769D;
	width:99.9%;
	height:300px;
	/* margin:5px 0; */
}

.markItUpFooter {
	width:100%;
	/* cursor:n-resize; */
	border-top: 1px solid #CCC;
}

.markItUpResizeHandle {
	overflow:hidden;
	width:22px; height:5px;
	margin-left:auto;
	margin-right:auto;
	background-image:url(images/handle.png);
	cursor:n-resize;
}



/*
	Header buttons
*/
.markItUpHeader {
	border-bottom: 1px solid #CCC;
	overflow:hidden;
	padding:0 5px;
}
/* first row of buttons */
.markItUpHeader ul li	{
	list-style:none;
	float:left;
	position:relative;
}

.markItUpHeader ul li ul{
	display:none;
}

.markItUpHeader ul li:hover > ul{
	display:block;
}

.markItUpHeader ul .markItUpDropMenu {
	background:transparent url(images/menu.png) no-repeat 115% 50%;
	margin-right:5px;
}

.markItUpHeader ul .markItUpDropMenu li {
	margin-right:0px;
}

.markItUpHeader ul .markItUpSeparator {
	margin:0 4px;
	width:1px;
	height:16px;
	overflow:hidden;
}

.markItUpHeader ul ul .markItUpSeparator {
	width:auto; height:1px;
	margin:0px;
}

/* next rows of buttons */
.markItUpHeader ul ul {
	display:none;
	position:absolute;
	top:18px; left:0px;	
	background:#F5F5F5;
	border:1px solid #3C769D;
	height:inherit;
}

.markItUpHeader ul ul li {
	float:none;
	border-bottom:1px solid #3C769D;
}

.markItUpHeader ul ul .markItUpDropMenu {
	background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
}

/* next rows of buttons */
.markItUpHeader ul ul ul {
	position:absolute;
	top:-1px; left:150px;
}

.markItUpHeader ul ul ul li {
	float:none;
}

.markItUpHeader ul a {
	display:block;
	width:16px; height:16px;
	text-indent:-10000px;
	background-repeat:no-repeat;
	margin:0px;
}

.markItUpHeader ul ul a {
	display:block;
	padding-left:0px;
	text-indent:0;
	width:120px; 
	padding:5px 5px 5px 25px;
	background-position:2px 50%;
}

.markItUpHeader ul ul a:hover  {
	color:#FFF;
	background-color:#3C769D;
}

.markItUpButton {
	border:1px solid #bababa;
	border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; background:#dfdfdf url(images/but-bg.gif) repeat-x;
	padding:3px;
	margin-right:2px;
	margin-bottom:5px;
}

.markItUpButton:hover {
	border-color:#0A246A;
}

/*
	markdown
*/
.markdown .markItUp .markItUpButton1 a { background-image:url(images/h1.png); }
.markdown .markItUp .markItUpButton2 a { background-image:url(images/h2.png); }
.markdown .markItUp .markItUpButton3 a { background-image:url(images/h3.png); }
.markdown .markItUp .markItUpButton4 a { background-image:url(images/h4.png); }
.markdown .markItUp .markItUpButton5 a { background-image:url(images/h5.png); }
.markdown .markItUp .markItUpButton6 a { background-image:url(images/h6.png); }
.markdown .markItUp .markItUpButton7 a { background-image:url(images/bold.png); }
.markdown .markItUp .markItUpButton8 a { background-image:url(images/italic.png); }
.markdown .markItUp .markItUpButton9 a { background-image:url(images/list-bullet.png); }
.markdown .markItUp .markItUpButton10 a { background-image:url(images/list-numeric.png); }
.markdown .markItUp .markItUpButton11 a { background-image:url(images/picture.png); }
.markdown .markItUp .markItUpButton12 a { background-image:url(images/link.png); }
.markdown .markItUp .markItUpButton13 a { background-image:url(images/quotes.png);}
.markdown .markItUp .markItUpButton14 a { background-image:url(images/code.png); }
.markdown .markItUp .preview a { background-image:url(images/preview.png); }



/*
	textile
*/
.textile .markItUp .markItUpButton1 a { background-image:url(images/h1.png); }
.textile .markItUp .markItUpButton2 a { background-image:url(images/h2.png); }
.textile .markItUp .markItUpButton3 a { background-image:url(images/h3.png); }
.textile .markItUp .markItUpButton4 a { background-image:url(images/h4.png); }
.textile .markItUp .markItUpButton5 a { background-image:url(images/h5.png); }
.textile .markItUp .markItUpButton6 a { background-image:url(images/h6.png); }
.textile .markItUp .markItUpButton7 a { background-image:url(images/paragraph.png); }
.textile .markItUp .markItUpButton8 a { background-image:url(images/bold.png); }
.textile .markItUp .markItUpButton9 a { background-image:url(images/italic.png); }
.textile .markItUp .markItUpButton10 a { background-image:url(images/stroke.png); }
.textile .markItUp .markItUpButton11 a { background-image:url(images/list-bullet.png); }
.textile .markItUp .markItUpButton12 a { background-image:url(images/list-numeric.png); }
.textile .markItUp .markItUpButton13 a { background-image:url(images/picture.png); }
.textile .markItUp .markItUpButton14 a { background-image:url(images/link.png); }
.textile .markItUp .markItUpButton15 a { background-image:url(images/quotes.png); }
.textile .markItUp .markItUpButton16 a { background-image:url(images/code.png); }
.textile .markItUp .preview a { background-image:url(images/preview.png); }


/*
	textarea
*/

.markItUpContainer textarea {
	border:none !important;
	width:100% !important;
	padding:0 !important;
	min-width:100% !important;
	min-height:100% !important;
}